package com.kingdee.eas.test;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class AdminOrgUnitFactory
{
    private AdminOrgUnitFactory()
    {
    }
    public static com.kingdee.eas.test.IAdminOrgUnit getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.test.IAdminOrgUnit)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("E989EABD") ,com.kingdee.eas.test.IAdminOrgUnit.class);
    }
    
    public static com.kingdee.eas.test.IAdminOrgUnit getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.test.IAdminOrgUnit)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("E989EABD") ,com.kingdee.eas.test.IAdminOrgUnit.class, objectCtx);
    }
    public static com.kingdee.eas.test.IAdminOrgUnit getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.test.IAdminOrgUnit)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("E989EABD"));
    }
    public static com.kingdee.eas.test.IAdminOrgUnit getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.test.IAdminOrgUnit)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("E989EABD"));
    }
}